<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<script src="../rest.js"></script>
<script src="./js/interFace.js"></script>

<body>

</body>
<script>

    var user = 'ikun123dasd'
    request({
        type: 'get',
        url: 'http://43.138.81.225/demo/php/isExistUser.php',
        dataType: 'json',
        data: { user }
    })
    isExistUser({ user }).then(res => {
        console.log(res)
    })


</script>

</html>